import {http} from '@/utils/http'

export function useProjectChangeApi() {
  return {
    // 流程id获取项目变更
    getProjectChangeByProcess(processInstanceId: string) {
      return http.get<ProjectChangeForm>('/prod-api/admin-api/project/change/getByProcessId?processInstanceId=' + processInstanceId)
    },
    // 获得项目变更
    getChange(id: string) {
      return http.get<ProjectChangeForm>('/prod-api/admin-api/project/change/get?id=' + id)
    }
  }
}
